package com.ruoyi.system.mapper;


import com.ruoyi.system.domain.EmpowermentTraining;

import java.util.List;

/**
 * 赋能培训Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-05
 */
public interface EmpowermentTrainingMapper 
{
    /**
     * 查询赋能培训
     * 
     * @param trainingId 赋能培训主键
     * @return 赋能培训
     */
    public EmpowermentTraining selectEmpowermentTrainingByTrainingId(String trainingId);

    /**
     * 查询赋能培训列表
     * 
     * @param empowermentTraining 赋能培训
     * @return 赋能培训集合
     */
    public List<EmpowermentTraining> selectEmpowermentTrainingList(EmpowermentTraining empowermentTraining);

    /**
     * 新增赋能培训
     * 
     * @param empowermentTraining 赋能培训
     * @return 结果
     */
    public int insertEmpowermentTraining(EmpowermentTraining empowermentTraining);

    /**
     * 修改赋能培训
     * 
     * @param empowermentTraining 赋能培训
     * @return 结果
     */
    public int updateEmpowermentTraining(EmpowermentTraining empowermentTraining);

    /**
     * 删除赋能培训
     * 
     * @param trainingId 赋能培训主键
     * @return 结果
     */
    public int deleteEmpowermentTrainingByTrainingId(String trainingId);

    /**
     * 批量删除赋能培训
     * 
     * @param trainingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEmpowermentTrainingByTrainingIds(String[] trainingIds);
}
